<template>
  <div>
    <button @click="$router.push('/huancun/form')">切换到缓存form</button>
    <button  @click="$router.push('/huancun/form1')">切换到不缓存form</button>
    <router-view v-slot="{ Component }">
      <keep-alive include="page-huancun">
        <component :is="Component" />
      </keep-alive>
    </router-view>
    
  </div>
</template>

<script>

export default {
 
}
</script>

<style>

</style>